import pytest
from Tools.tools import *
if __name__ == '__main__':
    # 调用封装的日志，allure,邮件方法
    log()
    allure()
    # 生成HTML报告
    pytest.main(['-s','Test_Case/Test_Case.py','--html=api_test_report.html'])
    youjian(['api_test_report.html','rizhi/api_test.log'])
